/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.cpal.entrenamiento.dao.impl;

import com.cpal.entrenamiento.dao.IPlantillaDAO;
import com.cpal.entrenamiento.entity.Plantilla;
import java.util.List;
import org.springframework.dao.DataAccessException;
import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;
import org.springframework.stereotype.Repository;

/**
 *
 * @author Omar
 */
@Repository
public class PlantillaDAO extends SqlMapClientDaoSupport implements IPlantillaDAO {

    @Override
    public List<Plantilla> obtenerPlantilla() throws DataAccessException {
        return getSqlMapClientTemplate().queryForList("buscarPlantilla");
    }

   

}
